<?php
/**
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 */

$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
?>
<!--<div id="header">
			<h1><?php echo $this->Html->link($cakeDescription, 'http://cakephp.org'); ?></h1>
		</div>-->
<!DOCTYPE html>
<html>
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $cakeDescription ?>:
		<?php echo $this->fetch('title'); ?>
	</title>
	<?php
		echo $this->Html->meta('icon');

		echo $this->Html->css('cake.generic');
		echo $this->Html->css('superfish.css');
		echo $this->Html->css('superfish-navbar.css');
		echo $this->Html->css('smoothness/jquery-ui-1.9.2.custom.min.css');
		echo $this->Html->script(array('jquery.min','jquery.form','jquery-ui-1.9.2.custom.min'));
		echo $this->Html->script(array('superfish'));
		echo $this->Html->script(array('jquery.maskedit')); 
		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
		
		
	?>
	<script>

	jQuery(document).ready(function(){
		jQuery('ul.sf-menu').superfish();
	});

</script>
	
</head>
<body>
	<div id="container">
			<!-- HD -->
		<div id="hd"> 
				
		</div>
		<!-- FIN HD -->
	<!-- START marco principal -->
		<div align="center"><table width="100px"><tr><td><div id="content">
		
		<div class="hd-top">			
							<div class="hd-nav">
							      
								<ul class="lst-menu kt-right">
								    
									
								<li> <?php echo $this->html->image("user.png") ?> <strong>Hola, Usuario </strong>  </a></li>
								<li>  <?php echo $this->html->link('Cerrar Sesion',array('controller'=>'Users','action'=>'logout'));?></li>
								</ul>				
							</div>	
							
						<div class="kt-navegacion"> 
							 
						 </div>	
				</div>
		
			<table id="top_table" width="1018px" cellpadding="0" cellspacing="0">
				
				<tr class="top_table_top">
					<td style="text-align:left">
						<?php echo $this->html->image("logo.png") ?>
					</td>
				
				</tr>
				
				<tr class="top_table_middle">
					<td colspan="2">
						<table cellpadding="0" cellspacing="0" border="0" width="100%">
						<tr><td width="100%">
						<nav id="menu">
						<ul class="sf-menu">
							<li><a href="#">Usuarios&nbsp;&nbsp;&nbsp;</a>
								<ul>
								<?php echo $this->Html->link(__('Lista', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
								<li><?php echo $this->Html->link(__('Nuevo', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
								<li><?php echo $this->Html->link(__('Buscar', true), array('controller' => 'users', 'action' => 'busqueda')); ?> </li>
						</ul>
							</li>
							
							
							
							
							<li><a href="#">Rol&nbsp;&nbsp;&nbsp;</a>
								<ul>
								<li><?php echo $this->Html->link(__('Nuevo', true), array('controller' => 'roles', 'action' => 'add')); ?>
								<li><?php echo $this->Html->link(__('Lista', true), array('controller' => 'roles', 'action' => 'index')); ?> </li>
						</ul>
							</li>
							
							<li><a href="#"> Alumnos &nbsp;&nbsp;</a>
								<ul>
								
								<li><?php echo $this->Html->link(__('Nuevo', true), array('controller' => 'alumnos', 'action' => 'add')); ?> </li>
                                                                <li><?php echo $this->Html->link(__('Lista', true), array('controller' => 'alumnos', 'action' => 'index')); ?> </li>
						</ul>
						
							</li>
                                                        
                                                        <li><a href="#"> Apoderado&nbsp;</a>
								<ul>
								
								<li><?php echo $this->Html->link(__('Nuevo', true), array('controller' => 'apoderados', 'action' => 'add')); ?> </li>
						<li><?php echo $this->Html->link(__('Lista', true), array('controller' => 'apoderados', 'action' => 'index')); ?> </li>
						
						</ul>
						
							</li>
							
							<li><a href="#">Empleados-Cargos &nbsp;&nbsp;</a>
								<ul>
								<li><?php echo $this->Html->link(__('Nuevo', true), array('controller' => 'empleados', 'action' => 'add')); ?> </li>
								<li><?php echo $this->Html->link(__('Lista', true), array('controller' => 'empleados', 'action' => 'index')); ?> </li>
								<li><?php echo $this->Html->link(__('Cargo', true), array('controller' => 'cargos', 'action' => 'index')); ?> </li>
						</ul>
							</li>
							
							<li><a href="#"> Reporte de Casos &nbsp;&nbsp;</a>
								<ul>
								<li><?php echo $this->Html->link(__('Nuevo', true), array('controller' => 'casoreportados', 'action' => 'add')); ?> </li>
								<li><?php echo $this->Html->link(__('Lista
								', true), array('controller' => 'casoreportados', 'action' => 'index')); ?> </li>
						</ul>
							</li>
							
							<li><a href="#"> Actividades&nbsp;&nbsp;</a>
								<ul>
								<li><?php echo $this->Html->link(__('Encuestas', true), array('controller' => 'cencuestas', 'action' => 'index')); ?> </li>
								<li><?php echo $this->Html->link(__('Eventos', true), array('controller' => 'eventos', 'action' => 'index')); ?> </li>
								<li><?php echo $this->Html->link(__('Detalle de encuestas', true), array('controller' => 'dencuestas', 'action' => 'index')); ?> </li>
						</ul>
							</li>
							
							<li><a href="#"> I.E &nbsp;&nbsp;</a>
								<ul>
								<li><?php echo $this->Html->link(__('Nuevo', true), array('controller' => 'insteducativas', 'action' => 'add')); ?> </li>
						<li><?php echo $this->Html->link(__('Lista', true), array('controller' => 'insteducativas', 'action' => 'index')); ?> </li>
						</ul>
							</li>
							
							<li><a href="#"> Incidencias &nbsp;</a>
								<ul>
								<li><?php echo $this->Html->link(__('Nuevo', true), array('controller' => 'incidencias', 'action' => 'add')); ?> </li>
						          <li><?php echo $this->Html->link(__('Lista', true), array('controller' => 'incidencias', 'action' => 'index')); ?> </li>
						</ul>
							</li>
                                                        
                                                        <li><a href="#"> Gestion &nbsp;&nbsp;</a>
								<ul>
								<li><?php echo $this->Html->link(__('Nuevo', true), array('controller' => 'gestions', 'action' => 'add')); ?> </li>
						          <li><?php echo $this->Html->link(__('Lista', true), array('controller' => 'gestions', 'action' => 'index')); ?> </li>
						</ul>
							</li>
						</ul>
						
						  </nav>
						</td>
						</tr>
							</table>
							</td>
				</tr>
							
							</table>	
							
								
	
<div class="main_container" style="min-height:800px" >
			<?php echo $this->Session->flash(); ?>

			<?php echo $this->fetch('content'); ?>
			</div>
	<!-- END marco principal -->
		</div></td></tr></table></div>
		
		</div>
	<?php echo $this->element('sql_dump'); ?>
</body>
</html>
